package com.example.droolstool.base;

import com.example.droolstool.module.ServerAssembleModule;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;

import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @Author 赵云龙
 * @Date 2020/6/27
 * @Description TODO
 */

public class Constants {

    /**
     * 已执行过的节点id
     */
    public static Set<String> executedRuleId = Sets.newHashSet();

    /**
     *
     */
    public static ConcurrentHashMap<String, Map<String, Object>> executedDrlResultParams = new ConcurrentHashMap<>();


     /**
      * 任务调度开始节点
      */
     public static List<String> startExecuteDrlIds = Lists.newArrayList();

     /**
      * 任务调度结束节点
      */
     public static List<String> endExecuteDrlIds = Lists.newArrayList();

    /**
     * 服务调度请求参数
     */
    public static ServerAssembleModule serverAssembleModule;

    /**
     * 规则文件存储
     */
    public static Map<String, String> drlMap;
}
